What is [assembly: InternalsVisibleTo("MyAssembly")]? A statement, directive, ...?

Posted by Alix on Stack Overflow See other posts from Stack Overflow or by Alix
Published on 2010-06-17T15:44:45Z Indexed on 2010/06/17 15:53 UTC
Read the original article Hit count: 183

Hi. Sorry about the vocabulary question but I can't find this anywhere: how do you call this below?

[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("MyAssembly")]

Is it a statement, a directive, ... ? I want to indicate that you have to insert that line in order to give MyAssembly access to your assembly's internal members, but I'd like to use a more specific term than "line".

Thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about assembly